What is sudo - su?

sudo - su is a command used in Unix-based operating systems to temporarily become a superuser or, in other words, grant administrative privileges to an existing user account.

The "sudo" command stands for "superuser do" and allows authorized users to execute commands with elevated privileges while logged in as a regular user. The "su" command stands for "switch user" and is used to change the current user ID to any other user included in the system's configuration.

When used together with "sudo - su," a user does not need to know or type the password of the "root" account, which is the most powerful administrative account in Unix-based systems. Instead, they can use their own password to gain temporary superuser privileges, allowing them to perform administrative tasks without having to log out and log back in as "root."

It is important to note that the use of sudo - su should be restricted to trusted users who have a legitimate reason to perform administrative tasks. Misuse of the command can lead to security risks and system vulnerabilities.